home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt01.dir / 00024_Script_24 < prev    next >
Text File  |  1994-11-15  |  5KB  |  201 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame, dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set nextLT = "FLWLT02"
  6.   set dialogOn = FALSE
  7.   set currMM = "FLWMM"
  8.   set nowFrame = "ltear867000f°°"
  9.   set inFrame = "12"
  10.   puppetsprite 9, TRUE
  11.   puppetSprite 11, TRUE
  12.   puppetSprite 12, TRUE
  13.   set the immediate of sprite 11 to TRUE
  14.   set the immediate of sprite 12 to TRUE
  15.   puppetSprite 20, TRUE
  16.   puppetSprite 21, TRUE
  17.   puppetSprite 22, TRUE
  18.   puppetSprite 23, TRUE
  19.   set the immediate of sprite 20 to TRUE
  20.   set the immediate of sprite 23 to TRUE
  21.   set realWorld = the number of cast A12
  22.   set currworld = "w01"
  23.   set the volume of sound 1 to 200
  24. end startMovie
  25.  
  26. on stepMovie
  27.   global nowFrame,currFrame
  28.   if nowFrame <> currFrame then
  29.     seeAlsoList
  30.     set currFrame = nowFrame
  31.   end if
  32. end stepMovie
  33.  
  34. on stopMovie
  35.   put " " into field "seeAlsoText"
  36.   set the castNum of sprite 21 to 1050
  37.   puppetSprite 21, FALSE
  38.   updateStage
  39. end stopMovie
  40.  
  41. on saveLocals
  42.   global lastFrame, nowFrame, lastMovie, origLocH
  43.   set lastMovie = the movie
  44.   set lastFrame = nowFrame
  45. end saveLocals
  46.  
  47. on ltForStep
  48.   global inFrame, nextLT, ltQT
  49.   puppetSprite 4, FALSE
  50.   set ltQT = FALSE
  51.   set inFrame = ""
  52.   if the frame = 12 then
  53.     go to frame "ltear872001°°°" of movie nextLT
  54.   else
  55.     go to marker (+1)
  56.     updateStage
  57.   end if
  58. end ltForStep
  59.  
  60. on ltBackStep
  61.   global inFrame, prevLT, ltQT
  62.   puppetSprite 4, FALSE
  63.   set ltQT = FALSE
  64.   set inFrame = ""
  65.   if the frame = label (line 1 of the labellist) then
  66.     beep
  67.   else
  68.     go to marker (-1)
  69.     updateStage
  70.   end if
  71. end ltBackStep
  72.  
  73. on checkNav
  74.   if rollover(11) then
  75.     set the castNum of sprite 11 to the number of cast "rightUp"
  76.   else
  77.     set the castNum of sprite 11 to the number of cast "rightRt"
  78.   end if
  79.   cursor -1
  80.   updateStage
  81. end checkNav
  82.  
  83. on buttonState
  84.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  85.   
  86.   if dialogOn = FALSE then
  87.     
  88.     --sticking local call here for convenience
  89.     worldLite
  90.     if the mouseV > 200 or bFlag = TRUE then
  91.       set bFlag = FALSE
  92.       doState
  93.     end if
  94.   end if
  95. end buttonState
  96.  
  97. on scrollRight
  98.   if the clickon = 11 then
  99.     sound stop 1
  100.     startTimer
  101.     repeat while the timer < 2
  102.       set the castNum of sprite 11 to the number of cast "rightDn"
  103.       updateStage
  104.     end repeat
  105.     timeRight
  106.     flush
  107.   end if   
  108. end scrollRight
  109.  
  110. on scrollLeft
  111.   if the clickon = 12 then
  112.     sound stop 1
  113.     startTimer
  114.     repeat while the timer < 2
  115.       set the castNum of sprite 12 to the number of cast "leftDn"
  116.       updateStage
  117.     end repeat
  118.     timeLeft
  119.     flush
  120.   end if  
  121. end scrollLeft
  122.  
  123. on timeLeft
  124.   beep
  125. end timeLeft
  126.  
  127. on timeRight
  128.   global nextLt
  129.   puppetSprite 4, FALSE
  130.   puppetTransition 23
  131.   go to movie nextLT
  132. end timeRight
  133.  
  134. on worldLite
  135.   global currWorld, realWorld
  136.   if rollover(9) then
  137.     set the castNum of sprite 9 to the number of cast currWorld
  138.   else
  139.     set the castNum of sprite 9 to the number of cast realWorld
  140.   end if
  141. end worldLite
  142.  
  143. on rollVLB1
  144.   if the mouseH >168 and the mouseH < 282 and the mouseV > 158 and the mouseV < 225 then
  145.     set the castNum of sprite 4 to 6
  146.     if the mouseDown then 
  147.       set the castNum of sprite 4 to 11
  148.     end if
  149.   else if the mouseH > 251 and the mouseH < 334 and the mouseV > 75 and the mouseV < 156 then
  150.     set the castNum of sprite 4 to 7
  151.     if the mouseDown then 
  152.       set the castNum of sprite 4 to 11
  153.     end if
  154.   else if the mouseH > 337 and the mouseH < 452 and the mouseV > 140 and the mouseV < 225 then
  155.     set the castNum of sprite 4 to 8
  156.     if the mouseDown then 
  157.       set the castNum of sprite 4 to 11
  158.     end if
  159.   else if the mouseH > 454 and the mouseH < 538 and the mouseV > 75 and the mouseV < 172 then
  160.     set the castNum of sprite 4 to 9
  161.     if the mouseDown then 
  162.       set the castNum of sprite 4 to 11
  163.     end if
  164.   else if the mouseH > 532 and the mouseH < 618 and the mouseV > 152 and the mouseV < 225 then
  165.     set the castNum of sprite 4 to 10
  166.     if the mouseDown then 
  167.       set the castNum of sprite 4 to 11
  168.     end if
  169.   else 
  170.     set the castNum of sprite 4 to 11
  171.   end if
  172.   updateStage
  173. end rollVLB1
  174.  
  175. on jumpVLB1
  176.   global dialogOn
  177.   if dialogOn = FALSE then
  178.     sound stop 1
  179.     if the clickOn < 7 or the clickOn > 23 then
  180.       if the mouseH >168 and the mouseH < 282 and the mouseV > 158 and the mouseV < 225 then
  181.         puppetSprite 4, FALSE
  182.         go to frame "ltear867001°°°"
  183.       else if the mouseH > 251 and the mouseH < 334 and the mouseV > 75 and the mouseV < 156 then
  184.         puppetSprite 4, FALSE
  185.         go to frame "ltear867002°°°"
  186.       else if the mouseH > 337 and the mouseH < 452 and the mouseV > 140 and the mouseV < 225 then
  187.         puppetSprite 4, FALSE
  188.         go to frame "ltear867003°°°"
  189.       else if the mouseH > 454 and the mouseH < 538 and the mouseV > 75 and the mouseV < 172 then
  190.         puppetSprite 4, FALSE
  191.         go to frame "ltear867004°°°"
  192.       else if the mouseH > 532 and the mouseH < 618 and the mouseV > 152 and the mouseV < 225 then
  193.         puppetSprite 4, FALSE
  194.         go to frame "ltear867005°°°"
  195.       else 
  196.         nothing
  197.       end if
  198.     end if
  199.   end if
  200.   flush
  201. end jumpVLB1